project(fasys)

cmake_minimum_required(VERSION 2.6)

ENABLE_TESTING()

#SET(CMAKE_CXX_FLAGS "-Wall -fno-rtti") #boost требует -fno-rtti
SET(CMAKE_CXX_FLAGS "-Wall -O0 -g")
#SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")
#SET(CMAKE_CXX_FLAGS_RELEASE "-O2")
#SET(CMAKE_CXX_FLAGS_DEBUG  "-O0 -g")

SUBDIRS(fasys test)

#include_directories(./libs ../faslib-0.2.0 ../faslib)
include_directories(. ../faslib /home/migashko/distr/boost_1_46_1 )

SET(CPACK_PACKAGE_VERSION "0.2.0")

#install(DIRECTORY fas test DESTINATION faslib
#	PATTERN "*.cmake" EXCLUDE
#	PATTERN "*~" EXCLUDE
#	PATTERN ".*" EXCLUDE
#	PATTERN "*.cmake" EXCLUDE
#	PATTERN "Makefile" EXCLUDE
#	PATTERN "CMakeFiles" EXCLUDE)

include(CPack)
